import reg from '../utils/request.js'

export function getOrderList(params) {
  return reg.get('/order/list', params)
}
export function getOrderdetail(params) {
  return reg.get('/order/detail', params)
}
export function editOrder(params) {
  return reg.post('/order/edit', params)
}
export function getHomeData(params) {
  return reg.get('/order/totaldata', params)
}
export function getOrderData(params) {
  return reg.get('/order/ordertotal', params)
}
